net: designware: Split the link init into a separate function
authorSimon Glass <[email protected]>
Wed, 11 Jan 2017 10:46:09 +0000 (11:46 +0100)
committerSimon Glass <[email protected]>
Thu, 12 Jan 2017 03:23:50 +0000 (20:23 -0700)
commitf63f28ee2520263f5c78f64f1d404b2c329ffe87
tree5fa231091b79799036a95a1cde2d05df18612f55
parent0ea38db90caa55e8366c9bef4214ab52b3fedf6a
net: designware: Split the link init into a separate function

With rockchip we need to make adjustments after the link speed is set but
before enabling received/transmit. In preparation for this, split these
two pieces into separate functions.

Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Romain Perier <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/designware.c